
import 'package:flutter_demo/model/payout_record_model.dart';

/// list : [{"id":5,"payoutState":3,"moneyUsd":10.0,"channel":1,"email":"sb-qgzqu33313219@personal.exaample.com","fullName":"lixinxin","createTime":"2024-11-13 06:37:38"}]

class PayoutRecordData {
  PayoutRecordData({
      this.list,});

  PayoutRecordData.fromJson(dynamic json) {
    if (json['list'] != null) {
      list = [];
      json['list'].forEach((v) {
        list?.add(PayoutRecordModel.fromJson(v));
      });
    }
  }
  List<PayoutRecordModel>? list;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (list != null) {
      map['list'] = list?.map((v) => v.toJson()).toList();
    }
    return map;
  }

}

